<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加经销商</title>
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/easyui.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/color.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/icon.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/form.css'}">
</head>
<body>
<div class="form_group">
	<form id="form" method="post">
		<div class="col_12 tdview"><span class="word">经销商编号:</span>
			<input type="text" class="form-control" id="dealerid" name="dealer.dealerid" value="${dealer?.dealerid}"></input>
		</div>
		<div class="col_12 tdview"><span class="word">经销商名称:</span>
			<input type="text" class="form-control" id="dealername" name="dealer.dealername" value="${dealer?.dealername}"></input>
		</div>
		<div class="col_12 tdview"><span class="word">联系人:</span>
			<input type="text" class="form-control" id="resperson" name="dealer.resperson" value="${dealer?.resperson}"></input>
		</div>
		<div class="col_12 tdview"><span class="word">联系电话:</span>
			<input type="text" class="form-control" id="resmobile" name="dealer.resmobile" value="${dealer?.resmobile}"></input>
		</div>
		<div class="col_12 tdview"><span class="word">身份证:</span>
			<input type="text" class="form-control" id="idcard" name="dealer.idcard" value="${dealer?.idcard}"></input>
		</div>
		<div class="col_12 tdview"><span class="word">邮箱:</span>
			<input type="text" class="form-control" id="email" name="dealer.email" value="${dealer?.email}"></input>
		</div>
		<input type="hidden" id="inviteid" name="dealer.inviteid" value="${dealer?.inviteid}">
		<div class="col_12 tdview"><span class="word">邀请商:</span>
			<input type="text" style="width:72%;height:25px" class="form-control" id="invitename" name="dealer.invitename" value="${dealer?.invitename}"></input>
		</div>
		<input type="hidden" id="join" value="${dealer?.joindate}">
		<div class="col_12 tdview"><span class="word">加盟日期:</span>
			<input style="width:50%" type="text" class="form-control" id="joindate" name="dealer.joindate"></input>
		</div>
		<input type="hidden" id="isflag" value="${dealer?.isflag}">
		<div class="col_12 tdview"><span class="word">是否启用:</span>
			<div style="width:50%;margin-top:5px">
				<label style="font-size:12px"><input type="radio" id="radio1" name="dealer.isflag" value="0" checked="checked">是</label>
				<label style="font-size:12px"><input type="radio" id="radio2" name="dealer.isflag" value="1">否</label>
			</div>
		</div>
		<div class="col_12 tdview"><span class="word">备注:</span>
			<textarea class="form-control" id="remark" name="dealer.remark" style="min-height:100px;resize:vertical" maxlength="700" placeholder="限255个字" >${dealer?.remark}</textarea>
		</div>
		<div class="button_group">
			<input type="button" id="cancleBut" class="button_edit" value="取消" >
			<input type="button" id="submitBut" class="button_edit" value="确定" >
		</div>
	</form>
</div>
</body>
<script type="text/javascript" src="@{'/public/javascripts/layout/dateFormat.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/jquery-1.8.2.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/jquery.easyui.min.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/easyui-lang-zh_CN.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/Validator.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/common.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/DealerController/dealerAdd.js'}"></script>
</html>